/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase202202 - Var6
 * <p>Powered by Lisi On 2022-05-27 11:02:30
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Var6 {
    public static void main(String[] args) {
        int i = 3;
        i = i + 3;
        i++;
        System.out.println(i); //7
        System.out.println(--i); //6
        System.out.println(i); //6

        short s = 3;
        s += 3; //可以理解为  s = s+3;
        System.out.println(s);

        s = (short)(s + 3);
        System.out.println(s);

        System.out.println(6/5.0);
        System.out.println(6%5);

    }
}
